]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme/dialogs: Clean up css a bit
authorJonas Dreßler <verdre@v0yd.nl>
Tue, 21 Jan 2020 10:32:24 +0000 (11:32 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 1 Feb 2020 07:06:31 +0000 (08:06 +0100)
Remove some unused classes and "deduplicate" selectors.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

data/theme/gnome-shell-sass/widgets/_dialogs.scss

index f1960dba7fdc07efb4e34ba1547fe1ca274b2686..4664b6710fe7c8ef09a18f0c72edce1782bf3ca3 100644 (file)
   padding-bottom: 1em;
 }
 
-.prompt-dialog-error-label {
-  @include fontsize($base_font_size - 1);
-  color: $warning_color;
-  padding-bottom: 8px;
-}
-
-.prompt-dialog-info-label {
-  @include fontsize($base_font_size - 1);
-  padding-bottom: 8px;
-}
-
+.prompt-dialog-error-label,
+.prompt-dialog-info-label,
 .prompt-dialog-null-label {
   @include fontsize($base_font_size - 1);
   padding-bottom: 8px;
 }
 
-.prompt-dialog-pim-box {
-  spacing: 1em;
+.prompt-dialog-error-label {
+  color: $warning_color;
 }
 
 .prompt-dialog-grid {
   spacing-columns: 1em;
 }
 
-.prompt-dialog-keyfiles-box {
-  spacing: 1em;
-}
-
-.prompt-dialog-button.button {
-  padding: 8px;
-}
-
 
 /* Polkit Dialog */